Optimal. Leaf size=17 \[ \frac {(a \sin (e+f x))^m}{f m} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2672, 30}
\begin {gather*} \frac {(a \sin (e+f x))^m}{f m} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2672
Rubi steps
\begin {align*} \int \cot (e+f x) (a \sin (e+f x))^m \, dx &=\frac {\text {Subst}\left (\int x^{-1+m} \, dx,x,a \sin (e+f x)\right )}{f}\\ &=\frac {(a \sin (e+f x))^m}{f m}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 17, normalized size = 1.00 \begin {gather*} \frac {(a \sin (e+f x))^m}{f m} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.34, size = 18, normalized size = 1.06
method | result | size |
derivativedivides | \(\frac {\left (a \sin \left (f x +e \right )\right )^{m}}{f m}\) | \(18\) |
default | \(\frac {\left (a \sin \left (f x +e \right )\right )^{m}}{f m}\) | \(18\) |
risch | \(\frac {{\mathrm e}^{-\frac {m \left (-i \pi \,\mathrm {csgn}\left (i \left ({\mathrm e}^{2 i \left (f x +e \right )}-1\right )\right ) \mathrm {csgn}\left (\sin \left (f x +e \right )\right )^{2}-i \pi \,\mathrm {csgn}\left (i {\mathrm e}^{-i \left (f x +e \right )}\right ) \mathrm {csgn}\left (\sin \left (f x +e \right )\right )^{2}+i \pi \,\mathrm {csgn}\left (a \sin \left (f x +e \right )\right ) \mathrm {csgn}\left (i a \sin \left (f x +e \right )\right )^{2}-i \pi \mathrm {csgn}\left (i a \sin \left (f x +e \right )\right )^{2}+i \pi \mathrm {csgn}\left (i a \sin \left (f x +e \right )\right )^{3}-i \pi \,\mathrm {csgn}\left (a \sin \left (f x +e \right )\right ) \mathrm {csgn}\left (i a \sin \left (f x +e \right )\right )-i \pi \mathrm {csgn}\left (a \sin \left (f x +e \right )\right )^{3}+i \pi \mathrm {csgn}\left (a \sin \left (f x +e \right )\right )^{2} \mathrm {csgn}\left (\sin \left (f x +e \right )\right )-i \pi \mathrm {csgn}\left (\sin \left (f x +e \right )\right )^{3}+i \pi \,\mathrm {csgn}\left (i a \right ) \mathrm {csgn}\left (a \sin \left (f x +e \right )\right ) \mathrm {csgn}\left (\sin \left (f x +e \right )\right )-i \pi \,\mathrm {csgn}\left (i a \right ) \mathrm {csgn}\left (a \sin \left (f x +e \right )\right )^{2}-i \pi \,\mathrm {csgn}\left (i \left ({\mathrm e}^{2 i \left (f x +e \right )}-1\right )\right ) \mathrm {csgn}\left (i {\mathrm e}^{-i \left (f x +e \right )}\right ) \mathrm {csgn}\left (\sin \left (f x +e \right )\right )+i \pi +2 \ln \left (2\right )-2 \ln \left (a \right )+2 \ln \left ({\mathrm e}^{i \left (f x +e \right )}\right )-2 \ln \left ({\mathrm e}^{2 i \left (f x +e \right )}-1\right )\right )}{2}}}{f m}\) | \(323\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 19, normalized size = 1.12 \begin {gather*} \frac {a^{m} \sin \left (f x + e\right )^{m}}{f m} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 18, normalized size = 1.06 \begin {gather*} \frac {\left (a \sin \left (f x + e\right )\right )^{m}}{f m} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \sin {\left (e + f x \right )}\right )^{m} \cot {\left (e + f x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.44, size = 18, normalized size = 1.06 \begin {gather*} \frac {\left (a \sin \left (f x + e\right )\right )^{m}}{f m} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.45, size = 17, normalized size = 1.00 \begin {gather*} \frac {{\left (a\,\sin \left (e+f\,x\right )\right )}^m}{f\,m} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________